<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>{% if '/' === page.url %}V8 JavaScript engine{% else %}{{ (renderData.title or title) | markdown | striptags | decodeHtmlEntities }} · V8{% endif %}</title>
    <meta name="viewport" content="width=device-width">
    <meta name="color-scheme" content="dark light">
    <link rel="stylesheet" href="/_css/main.css">
{% if '/features' in page.url %}
    <link rel="stylesheet" href="/_css/feature-support.css">
{% endif %}
    <link rel="icon" href="/favicon.png" sizes="48x48">
    <link rel="manifest" href="/.webmanifest">
    <meta name="theme-color" content="#4285F4">
    <link rel="alternate" href="{{ metadata.feed.path | url }}" type="application/atom+xml" title="V8 Atom feed">
    <link rel="alternate" href="/features.atom" type="application/atom+xml" title="V8 JS/Wasm features Atom feed">
{% for extra_link in extra_links %}
    <link rel="{{ extra_link.rel }}" href="{{ extra_link.href }}">
{% endfor %}
    <script>document.documentElement.className+=' js'</script>
{% if description %}
    <meta name="description" content="{{ description }}">
{% endif %}
  </head>
  <body>
    <header id="header">
      <h1><a href="/">V8</a></h1>
      <a href="#navigation-toggle" id="nav-toggle">Show navigation</a>
      <nav>
        <ul>
          <li{% if '/' === page.url %} class="current"{% endif %}><a href="/">Home</a></li>
          <li{% if '/blog' in page.url %} class="current"{% endif %}><a href="/blog">Blog</a></li>
          <li{% if '/docs' in page.url %} class="current"{% endif %}><a href="/docs">Docs</a></li>
          <li><a href="/tools">Tools</a></li>
          <li{% if '/features' in page.url %} class="current"{% endif %}><a href="/features" title="JavaScript and WebAssembly language features">JS/Wasm features</a></li>
          <li{% if '/grant' in page.url %} class="current"{% endif %}><a href="/grant">Research</a></li>
        </ul>
      </nav>
    </header>
    <main id="main">
      {{ content | safe }}
    </main>
    <footer id="footer">
      <div>
        <nav>
          <a href="/logo">Branding</a>
          <a href="/terms">Terms</a>
          <a href="https://policies.google.com/privacy">Privacy</a>
          <a href="https://twitter.com/v8js" rel="me nofollow">Twitter</a>
          <a href="https://github.com/v8/v8.dev/tree/main/{{ page.inputPath }}" rel="nofollow">Edit this page on GitHub</a>
        </nav>
        <dark-mode-toggle permanent dark="Light Mode" light="Dark Mode"></dark-mode-toggle>
      </div>
      <p><small>Except as otherwise noted, any code samples from the V8 project are licensed under <a href="https://chromium.googlesource.com/v8/v8.git/+/main/LICENSE">V8’s BSD-style license</a>. Other content on this page is licensed under <a href="https://creativecommons.org/licenses/by/3.0/">the Creative Commons Attribution 3.0 License</a>. For details, see <a href="/terms#site-policies">our site policies</a>.</small></p>
    </footer>
    <script type="module" src="/_js/dark-mode-toggle.mjs"></script>
    <script src="/_js/main.js"></script>
  </body>
</html>
